//Source file: D:\\test\\com\\ce\\pms\\custservice\\model\\MaterialService.java

package com.ce.pms.custservice.model;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * 物料使用服务
 * @author yandawei
 * @CreateDate:2008-12-8
 */
@Entity
@DiscriminatorValue("002")
public class MaterialItem extends AbstractServiceItem {

	/**
	 * 预领数量
	 */
	@Column(name = "PRE_DRAW")
	private Short preDraw;

	/**
	 * 实际领取数目
	 */
	@Column(name = "FACT_DRAW")
	private Short factDraw;

	/**
	 * 退还数目
	 */
	@Column(name = "HAND_BACK")
	private Short handBack;



	public Short getFactDraw() {
		return factDraw;
	}

	public void setFactDraw(Short factDraw) {
		this.factDraw = factDraw;
	}

	public Short getHandBack() {
		return handBack;
	}

	public void setHandBack(Short handBack) {
		this.handBack = handBack;
	}

	public Short getPreDraw() {
		return preDraw;
	}

	public void setPreDraw(Short preDraw) {
		this.preDraw = preDraw;
	}

	/**
	 * @roseuid 4937AB3101C5
	 */
	public MaterialItem() {

	}

	/**
	 * 自定义构造器
	 *
	 * @param name -
	 *            名称
	 * @param price -
	 *            价格
	 * @param fee -
	 *            金额
	 * @param preDraw -
	 *            预领
	 * @param factDraw -
	 *            实际领
	 * @param handBack -
	 *            退回
	 * @return com.ce.pms.custservice.model.MaterialService
	 * @roseuid 49240EA800BB
	 */
	public MaterialItem(String name, BigDecimal price, BigDecimal fee,
			Short preDraw, Short factDraw, Short handBack) {
		super(name, price, fee);
		this.preDraw = preDraw;
		this.factDraw = factDraw;
		this.handBack = handBack;
	}
}
